/*
 * Copyright 2002-2017 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http:/**www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.deservel.wxopen.constant;

/**
 * 消息常量类
 *
 * @author DeserveL
 * @date 2017/7/4 11:30
 * @since 1.0.0
 */
public class MessageConsts {
    /** 请求消息类型：文本 */
    public static final String REQ_MESSAGE_TYPE_TEXT = "text";
    /** 请求消息类型：图片 */
    public static final String REQ_MESSAGE_TYPE_IMAGE = "image";
    /** 请求消息类型：语音 */
    public static final String REQ_MESSAGE_TYPE_VOICE = "voice";
    /** 请求消息类型：视频 */
    public static final String REQ_MESSAGE_TYPE_VIDEO = "video";
    /** 请求消息类型：小视频 */
    public static final String REQ_MESSAGE_TYPE_SHORTVIDEO = "shortvideo";
    /** 请求消息类型：地理位置 */
    public static final String REQ_MESSAGE_TYPE_LOCATION = "location";
    /** 请求消息类型：链接 */
    public static final String REQ_MESSAGE_TYPE_LINK = "link";

    /** 请求消息类型：事件推送 */
    public static final String REQ_MESSAGE_TYPE_EVENT = "event";

    /** 事件类型：subscribe(订阅) */
    public static final String EVENT_TYPE_SUBSCRIBE = "subscribe";
    /** 事件类型：unsubscribe(取消订阅) */
    public static final String EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";
    /** 事件类型：scan(用户已关注时的扫描带参数二维码) */
    public static final String EVENT_TYPE_SCAN = "SCAN";
    /** 事件类型：LOCATION(上报地理位置) */
    public static final String EVENT_TYPE_LOCATION = "LOCATION";
    /** 事件类型：CLICK(点击菜单拉取消息时) */
    public static final String EVENT_TYPE_CLICK = "CLICK";
    /** 事件类型：CLICK(点击菜单跳转链接时) */
    public static final String EVENT_TYPE_VIEW = "VIEW";

    /** 响应消息类型：文本 */
    public static final String RESP_MESSAGE_TYPE_TEXT = "text";
    /** 响应消息类型：图片 */
    public static final String RESP_MESSAGE_TYPE_IMAGE = "image";
    /** 响应消息类型：语音 */
    public static final String RESP_MESSAGE_TYPE_VOICE = "voice";
    /** 响应消息类型：视频 */
    public static final String RESP_MESSAGE_TYPE_VIDEO = "video";
    /** 响应消息类型：音乐 */
    public static final String RESP_MESSAGE_TYPE_MUSIC = "music";
    /** 响应消息类型：图文 */
    public static final String RESP_MESSAGE_TYPE_NEWS = "news";
}
